<include file="Index/Common/header" title="ThinkPHP框架" keywords="开源WEB开发框架"/>
<include file="Index/Common/size-nav"/>
<div id="main">
  <div class="content_wrapper">

      <div class="container-fluid">
          <div class="row">
              <div class="col-sm-12">
                  <aside>
                      <header><i class="fa fa-fw fa-file"></i>新增用户</header>
                      <section>
                          <div class="container-fluid">
                              <div class="row">
                                  <div class="col-sm-12">
                                      <form class="form-horizontal" role="form" id="add-form">
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">用户名</label>
                                              <div class="col-sm-3">
                                                  <input type="text" class="form-control" placeholder="用户名" name="username">
                                              </div>
                                              <p class="col-sm-7 help-block" id="user-tip">必填</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">密码</label>
                                              <div class="col-sm-3">
                                                  <input type="text" class="form-control" placeholder="密码" name="password">
                                              </div>
                                              <p class="col-sm-7 help-block">必填</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">确认密码</label>
                                              <div class="col-sm-3">
                                                  <input type="text" class="form-control" placeholder="确认密码" name="repassword">
                                              </div>
                                              <p class="col-sm-7 help-block" id="pwd-tip">必填</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">用户权限</label>
                                              <div class="col-sm-3">
                                                  <select class="form-control" name="level">
                                                      <option value="0">管理员</option>
                                                      <option value="1">普通用户</option>
                                                  </select>
                                              </div>
                                              <p class="col-sm-7 help-block">必填</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">邮箱</label>
                                              <div class="col-sm-3">
                                                  <input type="text" class="form-control" placeholder="邮箱" name="email">
                                              </div>
                                              <p class="col-sm-7 help-block">用户登陆后需激活邮箱才可正常使用</p>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">手机号</label>
                                              <div class="col-sm-3">
                                                  <input type="text" class="form-control" placeholder="手机号码" name="phone">
                                              </div>
                                          </div>
                                          <div class="form-group">
                                              <label class="col-sm-2 control-label">个性签名</label>
                                              <div class="col-sm-10">
                                                  <textarea class="form-control" name="desc"></textarea>
                                              </div>
                                          </div>
                                          <hr/>
                                          <div class="form-group">
                                              <div class=" col-sm-12">
                                                  <button type="button" class="btn btn-primary"id="btn-add-submit">提交</button>
                                              </div>
                                          </div>
                                      </form>
                                  </div>
                              </div>
                          </div>
                      </section>
                  </aside>
              </div>
          </div>
      </div>

  </div>
</div>
<include file="Index/Common/footer"/>
<script type="text/javascript">
  var URL = {
    'add_url':"{:U('Admin/UserAdmin/add')}",
    'jump_url':"{:U('Admin/UserAdmin/index')}",
    'checkUserExist':"{:U('Admin/Login/checkUserExist')}",
  }
</script>
</body>
</html>
